{extend name="base" /} {block name="body"}
<div class="layui-body">
	<!--tab标签-->
	<div class="layui-tab layui-tab-brief">
		<ul class="layui-tab-title">
			<li class="">
				<a href="{:url('order/index')}">订单管理</a>
			</li>
			<li class="layui-this">订单详情</li>
		</ul>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show">
				<form class="layui-form form-container" action="{:url('order/info')}" method="post">
					<div class="layui-form-item">
						<label class="layui-form-label">订单ID</label>
						<div class="layui-input-block">
							<input type="text" name="order_id" value="{$order.order_id}" required lay-verify="required" placeholder="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">订单编号</label>
						<div class="layui-input-block">
							<input type="text" name="order_sn" value="{$order.order_sn}" readonly placeholder="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">用户编号</label>
						<div class="layui-input-block">
							<input type="text" name="user_id" value="{$order.user_id}" readonly placeholder="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">商品总价</label>
						<div class="layui-input-block">
							<input type="text" name="total_price" value="{$order.total_price}" readonly placeholder="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">支付价格</label>
						<div class="layui-input-block">
							<input type="text" name="pay_price" value="{$order.pay_price}" readonly placeholder="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">下单时间</label>
						<div class="layui-input-block">
							<input type="text" name="add_time" value="{$order.add_time}" readonly placeholder="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block">
							<input type="hidden" name="id" value="{$order.order_id}">
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
<script>
	// 定义全局JS变量
	var GV = {
		current_controller: "{$controller}/index"
	};
</script>
{/block}